package com.flower.subject.api.req;


import com.flower.subject.api.entity.AuthUserDTO;
import com.flower.subject.api.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-23 16:25
 */
@FeignClient(value = "project-club-auth")
@Component
public interface UserFeignService {


    @RequestMapping("auth/user/getUserInfo")
    public Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);

}
